<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>注册</h1>
    <div>
        <div>用户名：<input type="text" class="userName" placeholder="请输入手机号"> <span class="sp1"></span> </div>
        <div>密码：<input type="password" class="passWord" placeholder="请输入6位数字密码"> <span class="sp2"></span> </div>
        <div>验证密码：<input type="password" class="passWord2" placeholder="需要与之前的密码相同"> <span class="sp3"></span> </div>
        <div>
            <p>上传头像</p>
            <input class="headImg" type="file">
            <img class="userHead" src="" alt="">
        </div>
    </div>
    <button id="login">登录</button>
    <button id="reg">注册</button>

    <script src="./javascripts/jquery-3.7.1.js"></script>
    <script src="./javascripts/reg.js"></script>
</body>
</html>